<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../../util/taglib.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>编辑管理员</title>
</head>
<body>
<div id="editAdminForm">
        <div class="form-Container">
            <form action="${pageContext.request.contextPath}/adminUser/editAdmin.do"  id="dataForm" class="grayForm" method="post">
                <input type="hidden" name="id" id="id" value="${param.id==null?0:param.id }"/>
                <input type="hidden" name="uuid" id="uuid" value=""/>
                <table>
                     <!-- <tr>
                        <td><label for="parentName">所在单位:</label></td>
                        <td colspan="3" style="line-height:20px;">
                          <input type="hidden" name="companyName" id="companyName" />
                          <input type="text" class="easyui-combotree" id="companyUUID" required name="companyUUID" 
	                           data-options="
	                                prompt:'请选择',
	                                width:462,
	                                height:25,
	                                panelHeight:300,
	                                url:getBasePath()+'company/getCompanyList4Tree.do',    
					        	    valueField:'id',
					        	    textField:'text',
					        	    onSelect:function(node){
					        	       $('#companyName').val(node.text);
					        	       loadDepartment(node.id);
								    }
					        	    "/><br/>
					        	    <span id="parentUUIDMsg" style="color:red;font-weight:bold"></span>
                        </td>
                    </tr> -->
                    <tr>
                        <td><label for="userName">用户名:</label></td>
                        <td  style="line-height:20px;"><input type="text" name="userName" id="userName" /></td>
                        <td ><label for="realName">真实姓名:</label></td>
                        <td style="line-height:20px;"><input type="text" name="realName"  id="realName" required /></td>
                    </tr>
                    <tr>
                        <td ><label for="workTel">工作电话:</label></td>
                        <td style="line-height:20px;"><input type="text" id="workTel" required name="workTel"/></td>
                        <td ><label for="mobileTel">手机号码:</label></td>
                        <td style="line-height:20px;"><input type="text" id="mobileTel" required name="mobileTel"/></td>
                    </tr>
                    <tr>
                        <td ><label for="email">E-mail:</label></td>
                        <td style="line-height:20px;"><input type="text"  id="email" name="email" placeholder="abc@126.com" /></td>
                        <td ><label for="status">状态:</label></td>
                        <td style="line-height:20px;">
                           <select id="status" name="status" curV="">
                               <option value="0" selected="selected">正常用户</option>
                               <option value="1">被屏蔽用户</option>
                           </select>
                        </td>
                    </tr>
                    <tr>
                        <td ><label for="groupName">用户角色:</label></td>
                        <td style="line-height:20px;" colspan="3">
                          <select name="groupName"  id="groupName" class="select-box" curV="" required>
                               <option value="">请分配相应角色</option>
                          </select>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" style="text-align: center;">
                            <input type="button" value="提交数据" name="submitData"  />
                            <input type="button" value="关闭" name="close" />
                        </td>
                    </tr>
                </table>
                <div id="confirmMsg"></div>
            </form>
        </div>
        <script type="text/javascript" src="<%=basePath %>manage/action/editAdmin.js"></script>
</div>
</body>
</html>